package com.cn.jinl.domain;

import com.google.common.collect.ImmutableMap;

import java.util.Date;
import java.util.Map;

public class OnDutyBg {
    private String id;

    private String dutyDay;

    private String whiteDay;

    private String whiteUserCount;

    private String blackUserCount;

    private String bgStatus;

    private String checkTime;

    private String checkUserId;

    private String checkUserName;

    private String buQuanUserCount;

    private String totalUserCount;

    private Date createTime;

    private Date updateTime;

    private String status;

    private String chuqinTotalUser;

    private String whiteApplyUser;

    private String whiteApplyTime;

    private String blackApplyUser;

    private String blackApplyTime;
    private String whiteSaveTime;
    private String blackSaveTime;
    private String saves;

    private int count;

    public static final transient Map<String, String> STATUSMAP =
            ImmutableMap.of("0", "待核定", "1", "已完成");

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDutyDay() {
        return dutyDay;
    }

    public void setDutyDay(String dutyDay) {
        this.dutyDay = dutyDay == null ? null : dutyDay.trim();
    }

    public String getWhiteDay() {
        return whiteDay;
    }

    public void setWhiteDay(String whiteDay) {
        this.whiteDay = whiteDay == null ? null : whiteDay.trim();
    }

    public String getWhiteUserCount() {
        return whiteUserCount;
    }

    public void setWhiteUserCount(String whiteUserCount) {
        this.whiteUserCount = whiteUserCount == null ? null : whiteUserCount.trim();
    }

    public String getBlackUserCount() {
        return blackUserCount;
    }

    public void setBlackUserCount(String blackUserCount) {
        this.blackUserCount = blackUserCount == null ? null : blackUserCount.trim();
    }

    public String getBgStatusCn() {
        return STATUSMAP.get(getBgStatus());
    }
    public String getBgStatus() {
        return bgStatus;
    }

    public void setBgStatus(String bgStatus) {
        this.bgStatus = bgStatus == null ? null : bgStatus.trim();
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime == null ? null : checkTime.trim();
    }

    public String getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(String checkUserId) {
        this.checkUserId = checkUserId == null ? null : checkUserId.trim();
    }

    public String getCheckUserName() {
        return checkUserName;
    }

    public void setCheckUserName(String checkUserName) {
        this.checkUserName = checkUserName == null ? null : checkUserName.trim();
    }

    public String getBuQuanUserCount() {
        return buQuanUserCount;
    }

    public void setBuQuanUserCount(String buQuanUserCount) {
        this.buQuanUserCount = buQuanUserCount == null ? null : buQuanUserCount.trim();
    }

    public String getTotalUserCount() {
        return totalUserCount;
    }

    public void setTotalUserCount(String totalUserCount) {
        this.totalUserCount = totalUserCount == null ? null : totalUserCount.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getChuqinTotalUser() {
        return chuqinTotalUser;
    }

    public void setChuqinTotalUser(String chuqinTotalUser) {
        this.chuqinTotalUser = chuqinTotalUser == null ? null : chuqinTotalUser.trim();
    }

    public String getWhiteApplyUser() {
        return whiteApplyUser;
    }

    public void setWhiteApplyUser(String whiteApplyUser) {
        this.whiteApplyUser = whiteApplyUser == null ? null : whiteApplyUser.trim();
    }

    public String getWhiteApplyTime() {
        return whiteApplyTime;
    }

    public void setWhiteApplyTime(String whiteApplyTime) {
        this.whiteApplyTime = whiteApplyTime == null ? null : whiteApplyTime.trim();
    }

    public String getBlackApplyUser() {
        return blackApplyUser;
    }

    public void setBlackApplyUser(String blackApplyUser) {
        this.blackApplyUser = blackApplyUser == null ? null : blackApplyUser.trim();
    }

    public String getBlackApplyTime() {
        return blackApplyTime;
    }

    public void setBlackApplyTime(String blackApplyTime) {
        this.blackApplyTime = blackApplyTime == null ? null : blackApplyTime.trim();
    }

    public String getWhiteSaveTime() {
        return whiteSaveTime;
    }

    public void setWhiteSaveTime(String whiteSaveTime) {
        this.whiteSaveTime = whiteSaveTime;
    }

    public String getBlackSaveTime() {
        return blackSaveTime;
    }

    public void setBlackSaveTime(String blackSaveTime) {
        this.blackSaveTime = blackSaveTime;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getSaves() {
        return saves;
    }

    public void setSaves(String saves) {
        this.saves = saves;
    }
}